Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep active stats lock held #32763

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

jeffwashington
Copy link
Contributor

Problem

let _ = ... causes rhs to be dropped immediately.
So, active period was 0s.

Summary of Changes

use
let _guard = ...

Fixes #

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #32763 (e479a3c) into master (31b6b64) will increase coverage by 0.0%.
Report is 5 commits behind head on master.
The diff coverage is 94.5%.

@@           Coverage Diff           @@
##           master   #32763   +/-   ##
=======================================
  Coverage    82.0%    82.0%           
=======================================
  Files         785      785           
  Lines      211686   211731   +45     
=======================================
+ Hits       173614   173668   +54     
+ Misses      38072    38063    -9     

@jeffwashington jeffwashington marked this pull request as ready for review August 9, 2023 21:47
@jeffwashington jeffwashington requested a review from HaoranYi August 9, 2023 21:47
@HaoranYi
Copy link
Contributor

HaoranYi commented Aug 9, 2023

Should the ReadOnlyAccountCacheEntry change be in a different PR?

@jeffwashington
Copy link
Contributor Author

Should the ReadOnlyAccountCacheEntry change be in a different PR?

yeah, these were cherry picked from master so I could run diagnostics and test these changes out when master was broken recently against mnb. That is fixed now. Rebasing to master got rid of those changes.

Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffwashington jeffwashington merged commit c9f7cb5 into solana-labs:master Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants